package com.deram.ctin.serv.business.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

@ApiModel(description = "资质认证")
public class BusinessQualification implements Serializable {

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "证书编号")
    private String credentialCode;
    @ApiModelProperty(value = "证书类型")
    private Integer credentialType;
    @ApiModelProperty(value = "证书类型名称")
    private String credentialTypeName;
    @ApiModelProperty(value = "发证日期")
    private Date publishDate;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "企业ID")
    private Long enterId;
    @ApiModelProperty(value = "截至日期")
    private Date deadDate;
    @ApiModelProperty(value = "状态")
    private Integer state;
    @ApiModelProperty(value = "状态名称")
    private String stateName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCredentialCode() {
        return credentialCode;
    }

    public void setCredentialCode(String credentialCode) {
        this.credentialCode = credentialCode == null ? null : credentialCode.trim();
    }

    public Integer getCredentialType() {
        return credentialType;
    }

    public void setCredentialType(Integer credentialType) {
        this.credentialType = credentialType;
    }

    public Date getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(Date publishDate) {
        this.publishDate = publishDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Long getEnterId() {
        return enterId;
    }

    public void setEnterId(Long enterId) {
        this.enterId = enterId;
    }

    public String getCredentialTypeName() {
        return credentialTypeName;
    }

    public void setCredentialTypeName(String credentialTypeName) {
        this.credentialTypeName = credentialTypeName;
    }

    public Date getDeadDate() {
        return deadDate;
    }

    public void setDeadDate(Date deadDate) {
        this.deadDate = deadDate;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getStateName() {
        return stateName;
    }

    public void setStateName(String stateName) {
        this.stateName = stateName;
    }

    @Override
    public String toString() {
        return "BusinessQualification{" +
                "id=" + id +
                ", credentialCode='" + credentialCode + '\'' +
                ", credentialType=" + credentialType +
                ", credentialTypeName='" + credentialTypeName + '\'' +
                ", publishDate=" + publishDate +
                ", remark='" + remark + '\'' +
                ", enterId=" + enterId +
                ", deadDate=" + deadDate +
                ", state=" + state +
                ", stateName='" + stateName + '\'' +
                '}';
    }
}